Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to send authorization header to webhook #5871

Closed
wants to merge 1 commit into from

Conversation

cedric-lamalle
Copy link

This PR adds a new option WATCHDOG_NOTIFY_WEBHOOK_AUTH_HEADER to send an header for authorization when calling watchdog webhook.
This is useful as some webhooks don't accept Basic Authentication that can be put in the URL. I didn't force the header's name as some applications requires fancy header names as X-API-KEY for instance. Can be used too to "hide" Basic Authentication in the headers.
I have tested it with a custom image in our production environment and it's working fine.

@milkmaker
Copy link
Collaborator

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Oct 6, 2024
@milkmaker milkmaker closed this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Please update the issue with current status, unclear if it's still open/needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants